package com.example.ws;

import com.example.ws.config.DemoWebsocketHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class WebsocketDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebsocketDemoApplication.class, args);
    }



    @Bean
    public DemoWebsocketHandler infoHandler() {
        return new DemoWebsocketHandler();
    }
}
